package com.Register.service;

import com.Register.dto.*;
import com.Register.entity.PageQuery;
import com.Register.entity.User;
import com.Register.entity.WxUser;
import com.Register.result.PageResult;
import com.Register.result.Result;

public interface AdminService {
    /**
     * 用户登录
     * @param userLoginDTO
     * @return
     */
    User webAdminLogin(UserWebLoginDTO userLoginDTO) ;

    boolean changePasswordByPhone(AdminUpdatePasswordDTO adminUpdatePasswordDTO);

    void setUserBan(Long userId);

    void setUserActive(Long userId);

    PageResult getAllWxUser(WxUserPageQueryDTO wxUserPageQueryDTO);

    PageResult selectWxUserIsDeleted(PageQuery query);

    Result<String> AdminUpdate(AdminUpdateDTO adminUpdateDTO);
}
